package cn.iocoder.yudao.module.trade.controller.admin.fruitcard.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.*;


/**
 * 水果卡 Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 */
@Data
public class FruitCardBaseVO {

    @Schema(description = "卡片类型，关联字典表", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "卡片类型，关联字典表不能为空")
    private String cardType;

    @Schema(description = "次数", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "次数不能为空")
    private Integer times;

    @Schema(description = "价格 分", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "价格 分不能为空")
    private Integer price;

    @Schema(description = "有效期 月", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "有效期 月不能为空")
    private Integer validMonth;

    @Schema(description = "关联水果品种", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "关联水果品种不能为空")
    private String fruitType;

    @Schema(description = "描述")
    private String description;

    @Schema(description = "状态")
    private Boolean status;

}
